﻿using System;
using System.Collections.Generic;
using System.Text;
using FlexiCommerce.Components;

namespace FlexiCommerce.Persistence
{
    /// <summary>
    /// Content items implementing this interface are responsible for their 
    /// own persistence.
    /// </summary>
    public interface IActiveContent
    {
        void Save();
        void Delete();
        void MoveTo(PersistenceItem destination);
        HierarchicalPersistenceItem CopyTo(HierarchicalPersistenceItem destination);
    }
}
